Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 20 - QuickDraw 3D Mathematical Utilities / QuickDraw 3D Mathematical Utilities Reference
QuickDraw 3D Mathematical Utilities / Transforming Points and Vectors


Q3RationalPoint4D_Transform

You can use the Q3RationalPoint4D_Transform function to apply a transform to a four-dimensional rational point.

TQ3RationalPoint4D *Q3RationalPoint4D_Transform (
const TQ3RationalPoint4D *point4D, 
const TQ3Matrix4x4 *matrix4x4, 
TQ3RationalPoint4D *result);
point4D
A four-dimensional point.
matrix4x4
A 4-by-4 matrix.
result
On exit, the point that is the result of multiplying point4D by matrix4x4.
DESCRIPTION
The Q3RationalPoint4D_Transform function returns, as its function result and in the result parameter, the point that is the result of multiplying the rational point point4D by the matrix transform matrix4x4. Note that on entry the result parameter can be the same as the point4D parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996